<template>
    <div>
        歌手页面
    </div>
</template>

<script>
import {getSingerList} from 'api/singer'
import {ERR_OK} from 'api/config'
export default {
    data() {
        return{
        singers: []
        }
    },
    created() {
        this._getSingerList()
    },methods: {
        _getSingerList() {
            getSingerList().then((res) => {
                console.log(res)
                if(res.code === ERR_OK){
                    this.singers = res.data.list
                    console.log(singers)
                }
            })
        }
    }
}
</script>
<style lang="stylus" scoped>
</style>
